#ifndef WEATHERDATA_H
#define WEATHERDATA_H

#include<QString>

class Today
{
public:
    Today()
    {
        date = "2022-10-20";
        city = "广州";

        ganmao = "感冒指数";

        wendu = 0;
        shidu = "0%";
        pm25 = 0;
        quality = "无数据";

        type = "多云";

        fl = "2级";
        fx = "南风";

        high = 30;
        low = 18;
    }

    QString date;

    int wendu;
    QString city;

    QString type;
    int high;
    int low;

    QString ganmao;

    QString fx;
    QString fl;
    int pm25;

    QString shidu;
    QString quality;
};

class Day
{
public:
    Day()
    {
        date = "2022-10-20";
        week = "周五";

        type = "多云";

        high = 0;
        low = 0;

        fx = "南风";
        fl = "2级";

        aqi = 0;
    }
    QString week;
    QString date;

    QString type;

    int aqi;  //空气质量

    int high;
    int low;

    QString fx;
    QString fl;

};

#endif // WEATHERDATA_H
